package com.cloud.sample.core.exception;

import com.cloud.sample.core.constant.BaseErrorCode;

/**
 * @author gjy
 * @since 2021/11/30 0030
 */
public class DbException extends BaseException {

    private static final long serialVersionUID = -7772466277195547974L;

    public DbException(String message) {
        super(message);
    }

    public DbException(Integer errCode, String message) {
        super(errCode, message);
    }

    public DbException(BaseErrorCode errorCode, Object... param) {
        super(errorCode, param);
    }

    public DbException(BaseErrorCode errorCode) {
        super(errorCode);
    }
}
